package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;

public interface HospitalService {

    void saveHospital(Hospital hospital);

    Hospital findByHoscode(String hoscode);

    Page<Hospital> selectPage(Integer pageNum, Integer pageSize, HospitalQueryVo hospitalQueryVo);

    Hospital getHospById(String id);

    void updateStatus(String id, Integer status);

    List<Hospital> findByHosname(String hosname);
}
